Early Projection in CLP(R)
نویسندگان
چکیده
During the evaluation of a constraint logic program, many local variables become inaccessible, or dead. In Prolog and other programming languages, the data bound to local variables can be removed automatically by garbage collection. The case of CLP is more complex, as the variables may be involved in several constraints. We can consider dead variables to be existentially quantiied. Removing an existential variable from a set of constraints is then a problem of quantiier elimination , or projection. Eliminating variables not only allows recovery of space but also can decrease the cost of further consistency tests. Surprisingly , the existing systems do not exploit these advantages. Instead, the primary use of projection is as a mechanism for obtaining answer constraints. In this paper, we will give a general system architecture for automatic early projection and specify the heuristics for CLP(R) together with an in-situ removal method. We then show the eeectiveness of early projection by applying it to some practical planning problems.
منابع مشابه
Linear Projection in Clp(fd) | Draft
The problem of quantiier elimination, or projection, is to reduce the dimensions of a constraint to the desired ones without changing the solution set. Such a method is best known for linear dense domains. Systems like ECL i PS e and CLP(R) provide a projection module to eliminate the dead variables of the linear part of answers. But elimination can be more than a lter of the answer. It can als...
متن کاملLinear Constraint Projection
In most of the existing linear CLP systems, a projection is employed for the answer presentation in order to eliminate the dead variables not occuring in the query. But projection is more than an ornament of the answer presentation. We have shown that there are planning problems that depend heavily on an early projection. While it is not clear how to integrate early projection in the presence o...
متن کاملEntailment and Projection for Clp(b) and Clp(q) in Sicstus Prolog
The idea of using the CLP framework to reason about CLP programming leads to not only an elegant theory but also to practical and useful applications. Most works rely on abstract top-down or bottom-up interpreters to nitely compute the semantics of abstract programs. A few basic operations, e.g. entailment and projection, are quite common in the structure of such interpreters. This paper presen...
متن کاملThe anti-inflammatory and antioxidant effects of rosa damascena mill. essential oil on the lung injury in the CLP model
Background: Sepsis or infection is the second leading cause of death in people who are intensive care units. Due to the side effects of NSAIDs drugs, the use of medicinal plants with anti-inflammatory such as Rosa (R.) damascene Mill. for treating and reducing the symptoms of the inflammation has been suggested. Objective: The current study aimed to evaluate the anti-inflammatory and antioxodan...
متن کاملComplex Linear Projection (CLP): A Discriminative Approach to Joint Feature Extraction and Acoustic Modeling
State-of-the-art automatic speech recognition (ASR) systems typically rely on pre-processed features. This paper studies the time-frequency duality in ASR feature extraction methods and proposes extending the standard acoustic model with a complex-valued linear projection layer to learn and optimize features that minimize standard cost functions such as crossentropy. The proposed Complex Linear...
متن کامل